package cn.com.qtgl.apis.notification.model.enums;

import lombok.Getter;

import cn.com.qtgl.apis.notification.model.notification_body.MessageCardBody;
import cn.com.qtgl.apis.notification.model.notification_body.PicTextBody;

@Getter
public enum NotificationChannelType {
    TEXT("文本",String.class),HTML("HTML",String.class),MARKDOWN("MARKDOWN文档",String.class),
    JSON("JSON对象",String.class),MESSAGE_CARD("消息卡片", MessageCardBody.class),PIC_TEXT("图文", PicTextBody.class);
    private final String label;

    private final Class<?> clazz;

    NotificationChannelType(String label, Class<?> clazz) {
        this.label = label;
        this.clazz = clazz;
    }

}
